package sys.interaction;

import sys.ui.MainMenu;

import java.util.Scanner;

public class IteracMain {

    static int select;

    public static void interMain() {

        Scanner input = new Scanner(System.in);

        while (true) {
            MainMenu.display();
            select = input.nextInt();
            switch (select) {
                case 1 : IteracManager.interManager();
                case 2 : IteracTeaAndStu.interTeaAndStu();
                case 3 : IteracPlayer.interPlayer();
                case 4 : IteracJudge.interJudge();
                case 5 : IteracVolunteer.interVolunteer();
                default: {
                    System.out.print("请重新输入： ");
                }
            }
        }

    }

}
